package com.example.ffepeg.yourAudio;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("9999999999999");
        list.add("7777777777777");
        String jsonYui = JSON.toJSONString(list, SerializerFeature.PrettyFormat);

        JSONObject json = new JSONObject();
        json.put("id","22222222");
        json.put("list",jsonYui);
        List<String> k = new ArrayList<>();
        k.add(json.toString());

        List<String> newList = JSON.parseArray(jsonYui, String.class);

        for (Object entry : k){
            System.out.println(entry);
        }

        String videoPath = "https://pushimg.liecaizhijia.com/adminshop/20250213/189ea88d5c965fcda564260664b230d5.mp4";
    }

}
